/*
* 头部与查询相关
*/
.search-header-container {
    margin: 0 0 0 18px;
    position: relative;
    width: 300px;
    border-bottom: 1px solid #E6E9F0;
    padding: 10px 40px 10px 0;
    overflow: hidden;

    .search-header--title {
        font-size: 17px;
        color: #5A5E66;
        line-height: 24px;
    }

    .search-header--menu {
        width: 24px;
        text-align: left;
        vertical-align: middle;
        display: inline-block;
        line-height: 1;

        .f-icon {
            font-size: 20px;
        }

    }

    // 查詢圖標
    .search-header--icons {
        background: #F5F7FA;
        position: absolute;
        width: 40px;
        text-align: center;
        right: 0px;
        top: 16px;

        .search-icon .f-icon {
            cursor: pointer;
        }
    }

    // 查詢框
    .search-header--search {
        background: #F5F7FA;
        position: absolute;
        width: 260px;
        left: 300px;
        top: 10px;
        transition: left 200ms;
        display: flex;
        align-items: center;

        &.f-state-expand {
            left: 0;
            right: auto;
        }

        .form-control {
            border: none;
            background: transparent;
            box-shadow: none;
        }

        .search-icon {
            color: #2A87FF;
            margin: 0 4px 0 0;
        }

    }

}

/*
* 快速查询
*/
.settings-group {
    padding: 16px 0 0px;

    .group-header {
        padding: 0px 0 8px;

        &:hover {
            .group-header--icon {
                color: #2A87FF;
            }
        }

        .group-header--text {
            font-size: 16px;
            color: #848C9A;
        }

        .group-header--icon {
            margin: 0 0 0 6px;
            color: #848C9A;
            transition: all 0.2s linear;
            display: inline-block;

            .f-icon {
                font-size: 12px;
            }

            &.f-state-expand {
                color: #2A87FF;
                transform: rotateZ(180deg);
            }
        }
    }

    .group-items {
        padding: 6px 0;
    }
}

/*
*颜色列表
*/
.rapid-settings--theme-color-list {
    padding: 0;
    margin: 0 -11px 0 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

    li {
        list-style: none;
        position: relative;
        margin: 0 11px 0 0;

        .f-icon {
            display: none;
        }

        &.f-state-selected .f-icon {
            display: block;
            position: absolute;
            top: 50%;
            left: 50%;
            color: #fff;
            font-size: 14px;
            margin: -7px 0 0 -7px;
        }
    }

    li:hover {
        cursor: pointer;
    }

    .color-item {
        display: block;
        width: 32px;
        height: 32px;
        border-radius: 4px;
        box-shadow: 0px 2px 5px 0px rgba(3, 18, 51, 0.16);
    }

    .color-default {
        background-image: linear-gradient(-51deg, #2A87FF 0%, #328BFF 100%);
    }

    .color-green {
        background: #17C2C2;
    }

    .color-red {
        background: #EE222C;
    }
}

/*
*密度列表
*/
.rapid-settings--theme-density-list {
    padding: 0;
    margin: 0 -18px 0 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;


    li {
        &:hover {
            cursor: pointer;
        }
        list-style: none;
        margin: 0 21px 0 0;
        text-align: center;

        .density-item {
            position: relative;
            margin: 0 0 16px;
            box-shadow: 0px 2px 7px 0px rgba(1, 51, 100, 0.1);
            border-radius: 4px;

            .desity-imgcontainer {
                display: block;
                width: 56px;
                height: 42px;
                background: url('assets/docs/images/size-s.svg') no-repeat;
            }

            .desity-icon-wrapper {
                display: none;
                width: 16px;
                height: 16px;
                text-align: center;
                border-radius: 8px;
                background-image: linear-gradient(221deg, #3F65FF 0%, #4D9AFF 100%);
                border: 1px solid #fff;
                box-shadow: 0px 4px 10px 0px rgba(69, 144, 255, 0.3);

                .f-icon {
                    font-size: 12px;
                }
            }

            &.f-state-selected {
                .desity-icon-wrapper {
                    display: block;
                    position: absolute;
                    right: 0;
                    bottom: 0;
                    margin: 0 -4px -4px 0;
                    color: #fff;
                }
            }

            &.density-loose {
                .desity-imgcontainer {
                    background: url('assets/docs/images/size-l.svg') no-repeat;
                }
            }
        }

        .density-text {
            font-size: 14px;
            color: rgba(0, 0, 0, 0.65);
        }
    }
}

/* 编辑器*/
.tool-editor .color-picker-trigger {
    margin: 0 0 0 8px;
    background: #fff;
    border: 1px solid #e6e9f0 !important;
    border-radius: 4px;

    .color-picker-trigger-inner {
        border-color: #fff !important;
    }
}